﻿<%@ page language="C#" autoeventwireup="true" inherits="Admin_MerchantsEdit, App_Web_j10nq5jl" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="<%= ResolveUrl("~/jquery-easyui-1.2.6/themes/"+Skin+"/easyui.css") %>"
        rel="stylesheet" type="text/css" />
    <link href="../jquery-easyui-1.2.6/themes/icon.css" rel="stylesheet" type="text/css" />
    <script src="../jquery-easyui-1.2.6/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../jquery-easyui-1.2.6/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../jquery-easyui-1.2.6/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="../Content/js/sysEasyUI.js" type="text/javascript"></script>
    <style type="text/css">
        body
        {
            font-size: 12px;
        }
        .style1
        {
            width: 100%;
            border-collapse: collapse;
            border: 1px solid #E2EEF3;
        }
        .style1 tr td
        {
            border: 1px solid #E2EEF3;
            
        }
    </style>
    <script type="text/javascript">
        $(function () {
            $("#btnOK").click(btnOK);
        });
        function btnOK() {
            //var aa = $("#Button1 ");
            $("#Button1 ").click();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div style=" margin:10px;">
        <table cellpadding="0" class="style1" style=" padding:20px;" >
            <tr>
                <td>
                    商户名称
                </td>
                <td>
                    <asp:TextBox ID="txtName" Width="300px" runat="server"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    Logo上传
                </td>
                <td>
                    <asp:FileUpload ID="file" runat="server" />
                    <asp:Button ID="Button2" runat="server" Text="上传" onclick="Button2_Click" />
                </td>
                <td rowspan="7">
                    <asp:Image ID="Image1" runat="server" Height="130px" 
                        ImageUrl="~/GroupBuying/Images/default.jpg" Width="190px" />
                </td>
            </tr>
            <tr>
                <td>
                    Logo地址
                </td>
                <td>
                    <asp:TextBox ID="txtPicUrl" Width="300px"  required="true"  runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    微首页图片上传
                </td>
                <td>
                    <asp:FileUpload ID="FileUpload1" runat="server" />
                    <asp:Button ID="Button3" runat="server" Text="上传" onclick="Button3_Click" />
                </td>
                
            </tr>
            <tr>
                <td>
                    微首页图片地址
                </td>
                <td>
                    <asp:TextBox ID="txtPic" Width="300px"  required="true"  runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    微信号&nbsp;</td>
                <td>
                    <asp:TextBox ID="txtToUserName"  required="false" Width="300px" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
            <td>Access_token</td>
            <td> <asp:TextBox ID="txtAccess_token"  required="false" Width="300px" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    联系电话&nbsp;</td>
                <td>
                    <asp:TextBox ID="txtPhone"  required="false" Width="300px" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    商户介绍
                </td>
                <td>
                    <asp:TextBox ID="txtIntroduce" Width="300px" runat="server" Rows="5" 
                        TextMode="MultiLine"></asp:TextBox>
                </td>
                <td rowspan="2">
                    <asp:Image ID="Image2" runat="server" Height="130px" 
                        ImageUrl="~/GroupBuying/Images/default.jpg" Width="190px" />
                </td>
            </tr>
            <tr>
                <td>
                    短信签名
                </td>
                <td>
                    <asp:TextBox ID="txtDX" Width="300px" runat="server" Rows="5" 
                        TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="center" colspan="2">
                    <a href="#" class="easyui-linkbutton" iconcls="icon-save" id="btnOK">保存</a>
                    <asp:Button ID="Button1" runat="server" Text="保存" Style="display: none;" OnClick="Button1_Click"
                        />
                </td> <td>&nbsp;</td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
